<?php 
require '../../frame/base.php';

$result = $Db->table('categroy')->field("cateid,name")->where(array('show_app'=>1))->order('cateid')->select();

echo json_encode(array('code'=>200,'msg'=>'ok','data'=>$result));



 ?>